/*
============================================================================
 Name        : pd_load_lib.h
 Author      : Jian(raphyer@hotmail.com)
 Version     :
 Copyright   : GPL
 Description : 
============================================================================
*/

#ifndef PD_LOAD_LIB_H
#define PD_LOAD_LIB_H

#include "lua.h"
#include "dd_define.h"

__DD_BEGIN_DECLS

/* lua will use the following functions to load library */

void* pd_lib_load(const char* path) ;

void pd_lib_unload(void* lib) ;

lua_CFunction pd_lib_find_fun(void* lib, const char* sym) ;

__DD_END_DECLS

#endif /* PD_LOAD_LIB_H */

/* End of File */
